package com.ruoyi.zsyh.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商城零售配件信息对象 zsyh_platform_sellparts
 * 
 * @author yuexl
 * @date 2025-04-27
 */
public class ZsyhPlatformSellparts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 配件Id */
    private String id;

    /** 配件名称 */
    @Excel(name = "配件名称")
    private String partsName;

    /** 配件编码 */
    @Excel(name = "配件编码")
    private String partsNumber;

    /** 配件分类id */
    @Excel(name = "配件分类id")
    private String partsType;

    /** 配件描述 */
    @Excel(name = "配件描述")
    private String partsDetails;

    /** 配件 主图 */
    @Excel(name = "配件 主图")
    private String partsImages;

    /** 配件详细信息（图文详情） */
    @Excel(name = "配件详细信息", readConverterExp = "图=文详情")
    private String partsRemarks;

    /** 是否热门推荐（1是0否） */
    @Excel(name = "是否热门推荐", readConverterExp = "1=是0否")
    private String isHotPush;

    /** 是否包邮（1是0否） */
    @Excel(name = "是否包邮", readConverterExp = "1=是0否")
    private String isPost;

    /** 订购最低数量 */
    @Excel(name = "订购最低数量")
    private Long partsQuantity;

    /** 排序数字越大，排序约靠前 */
    @Excel(name = "排序数字越大，排序约靠前")
    private Long partsSort;

    /** 是否上架 1是 0否 */
    @Excel(name = "是否上架 1是 0否")
    private String isShow;

    /** 配件的单位 */
    @Excel(name = "配件的单位")
    private String partsUnit;

    /** 配件图标 */
    @Excel(name = "配件图标")
    private String partsLogo;

    /** 主图视频 */
    @Excel(name = "主图视频")
    private String partsVideourl;

    /** 归属会长id */
    @Excel(name = "归属会长id")
    private String agentId;

    private String minPriceRetail;

    private String maxPriceRetail;

    private String minPriceWholesale;

    private String maxPriceWholesale;

    private String firstName;

    private String secondName;

    private String factoryName;



    /** 产品属性信息 */
    private List<ZsyhPlatformSellPartsAttribute> zsyhPlatformSellPartsAttributeList;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPartsName(String partsName) 
    {
        this.partsName = partsName;
    }

    public String getPartsName() 
    {
        return partsName;
    }
    public void setPartsNumber(String partsNumber) 
    {
        this.partsNumber = partsNumber;
    }

    public String getPartsNumber() 
    {
        return partsNumber;
    }
    public void setPartsType(String partsType) 
    {
        this.partsType = partsType;
    }

    public String getPartsType() 
    {
        return partsType;
    }
    public void setPartsDetails(String partsDetails) 
    {
        this.partsDetails = partsDetails;
    }

    public String getPartsDetails() 
    {
        return partsDetails;
    }
    public void setPartsImages(String partsImages) 
    {
        this.partsImages = partsImages;
    }

    public String getPartsImages() 
    {
        return partsImages;
    }
    public void setPartsRemarks(String partsRemarks) 
    {
        this.partsRemarks = partsRemarks;
    }

    public String getPartsRemarks() 
    {
        return partsRemarks;
    }
    public void setIsHotPush(String isHotPush) 
    {
        this.isHotPush = isHotPush;
    }

    public String getIsHotPush() 
    {
        return isHotPush;
    }
    public void setIsPost(String isPost) 
    {
        this.isPost = isPost;
    }

    public String getIsPost() 
    {
        return isPost;
    }
    public void setPartsQuantity(Long partsQuantity) 
    {
        this.partsQuantity = partsQuantity;
    }

    public Long getPartsQuantity() 
    {
        return partsQuantity;
    }
    public void setPartsSort(Long partsSort) 
    {
        this.partsSort = partsSort;
    }

    public Long getPartsSort() 
    {
        return partsSort;
    }
    public void setIsShow(String isShow) 
    {
        this.isShow = isShow;
    }

    public String getIsShow() 
    {
        return isShow;
    }
    public void setPartsUnit(String partsUnit) 
    {
        this.partsUnit = partsUnit;
    }

    public String getPartsUnit() 
    {
        return partsUnit;
    }
    public void setPartsLogo(String partsLogo) 
    {
        this.partsLogo = partsLogo;
    }

    public String getPartsLogo() 
    {
        return partsLogo;
    }
    public void setPartsVideourl(String partsVideourl) 
    {
        this.partsVideourl = partsVideourl;
    }

    public String getPartsVideourl() 
    {
        return partsVideourl;
    }
    public void setAgentId(String agentId) 
    {
        this.agentId = agentId;
    }

    public String getAgentId() 
    {
        return agentId;
    }

    public List<ZsyhPlatformSellPartsAttribute> getZsyhPlatformSellPartsAttributeList()
    {
        return zsyhPlatformSellPartsAttributeList;
    }

    public void setZsyhPlatformSellPartsAttributeList(List<ZsyhPlatformSellPartsAttribute> zsyhPlatformSellPartsAttributeList)
    {
        this.zsyhPlatformSellPartsAttributeList = zsyhPlatformSellPartsAttributeList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("partsName", getPartsName())
            .append("partsNumber", getPartsNumber())
            .append("partsType", getPartsType())
            .append("partsDetails", getPartsDetails())
            .append("partsImages", getPartsImages())
            .append("partsRemarks", getPartsRemarks())
            .append("isHotPush", getIsHotPush())
            .append("isPost", getIsPost())
            .append("partsQuantity", getPartsQuantity())
            .append("partsSort", getPartsSort())
            .append("isShow", getIsShow())
            .append("partsUnit", getPartsUnit())
            .append("partsLogo", getPartsLogo())
            .append("partsVideourl", getPartsVideourl())
            .append("agentId", getAgentId())
            .append("zsyhPlatformSellPartsAttributeList", getZsyhPlatformSellPartsAttributeList())
            .toString();
    }

    public String getMinPriceRetail() {
        return minPriceRetail;
    }

    public void setMinPriceRetail(String minPriceRetail) {
        this.minPriceRetail = minPriceRetail;
    }

    public String getMaxPriceRetail() {
        return maxPriceRetail;
    }

    public void setMaxPriceRetail(String maxPriceRetail) {
        this.maxPriceRetail = maxPriceRetail;
    }

    public String getMinPriceWholesale() {
        return minPriceWholesale;
    }

    public void setMinPriceWholesale(String minPriceWholesale) {
        this.minPriceWholesale = minPriceWholesale;
    }

    public String getMaxPriceWholesale() {
        return maxPriceWholesale;
    }

    public void setMaxPriceWholesale(String maxPriceWholesale) {
        this.maxPriceWholesale = maxPriceWholesale;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getSecondName() {
        return secondName;
    }

    public void setSecondName(String secondName) {
        this.secondName = secondName;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }
}
